.PHONY:all
all:mycmd mytest

mycmd:mycmd.cc
	g++ -o $@ $^ -std=c++11
mytest:mytest.cc 
	g++ -o $@ $^ -std=c++11
.PHONY:clean
clean:
	rm -r mytest mycmd
